package org.zjvis.graph.analysis.service.mapper;


import org.zjvis.graph.analysis.service.dto.GraphActionDTO;

import java.util.List;

public interface GraphActionMapper {
    boolean save(GraphActionDTO dto);

    boolean update(GraphActionDTO dto);

    GraphActionDTO queryById(Long id);

    List<GraphActionDTO> queryByGraphId(Long graphId);

    void delete(Long id);

    void deleteByGraphId(Long graphId);

    List<GraphActionDTO> queryLatestActionByGraphId(Long graphId, Long limitNum);
}
